package com.lg.erp.service.impl.chenkang;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lg.erp.entity.chenkang.TCargoArea;
import com.lg.erp.mapper.chenkang.CargoAreaMapper;
import com.lg.erp.service.chenkang.ICargoAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class CargoAreaServiceImpl extends ServiceImpl<CargoAreaMapper,TCargoArea> implements ICargoAreaService {

    @Autowired
    CargoAreaMapper cargoAreaMapper;

    @Override
    public IPage<TCargoArea> pageCargoArea(Page<TCargoArea> page,String wareName,String goodsName,String dateTime) {
        return cargoAreaMapper.pageCargoArea(page,wareName,goodsName,dateTime);
    }

    @Override
    public List<TCargoArea> selectWareByCargoNO() {
        return cargoAreaMapper.selectWareByCargoNO();
    }

}
